<%--
  Created by IntelliJ IDEA.
  User: lenovo
  Date: 2020/10/11
  Time: 17:27
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>logout</title>
</head>
<body>

<%
    session.invalidate();
    response.sendRedirect("login.jsp");
%>

<%--<%--%>
<%--    Cookie cookie = new Cookie("loginSuccess", null);--%>
<%--    cookie.setMaxAge(0);--%>
<%--    response.addCookie(cookie);--%>
<%--    response.sendRedirect("login.jsp");--%>
<%--%>--%>
</body>
</html>
